#ifndef _PIC_PROC_H_
#define _PIC_PROC_H_ 

#include <stdint.h>

class CPicProc
{
public:
	CPicProc();
	~CPicProc();
public:
	int Init(int picBufSize);
	int Snap(int ch);
	int SnapMulti(int ch,int count);
	int SnapToFile(unsigned char * file , int ch);
protected:
	int WriteTOFIFO(unsigned char * pic_data,int pic_size,int ch);
	int WriteTOFile(unsigned char * pic_data,int pic_size,int ch);
private:
	bool m_bUseFIFO;
	unsigned char * m_picBuf;
};

#endif
